@import "reset.css";
@import "../font/iconfont.css";

#page {
  max-width: 750px;
  margin: 0 auto;
}
html,
body,
#page {
  height: 100%;
}
#page {
  display: flex;
  flex-direction: column;
  max-width: 750px;
  margin: 0 auto;
}
/*顶部*/
#header_top{
    height: .64rem;
    display: flex;
    background-color: #ff6040;
    padding: .45rem .12rem .32rem .33rem;
    color: #ffdfd8;
    font-size: .3rem;
    align-items: center;
    justify-content: space-between;
    p{
        span{
            &.iconfont{
                font-size: .3rem;
                color: #ffdfd8;
            }            
        }
        &:nth-child(1){
            margin-left: 3.23rem;
            
        }
        &:nth-child(2){
            width: 1.74rem;
            height: .64rem;
            border: 1px solid #ff8a6f;
            border-radius: .4rem;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: space-around;
            position: relative;
            i{
                width: 1px;
                height: 0.37rem;
                background-color: #ff896e;
                position: absolute;
            }
        }
        
    }
}

/*头部*/ 
header{
    height: 4.05rem;
    background: linear-gradient(#ff6040,#ff8a7f);
    .portrait{
        height: 1.4rem;
        padding-left: .2rem;
        .img{
            width: 1.3rem;
            border-radius: 50%;
            float: left;
        }
        p{
            &:nth-of-type(1){
                height: 1.4rem;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                float: left;
                margin-left: .15rem;
                span{
                    &:nth-child(1){
                        font-size: .34rem;
                        color: #fff;
                    }
                    &:nth-child(2){
                        height: .34rem;
                        line-height: .32rem;
                        border: 1px solid #ffb5a8;
                        font-size: .2rem;
                        color: #fff;
                        padding: 0 .06rem;
                        border-radius: .05rem;
                    }
                }
            }
            &:nth-of-type(2){
                width: 1.53rem;
                height: .42rem;
                float: right;
                margin-top: .45rem;
                background-color: #ffd5cc;
                box-sizing: border-box;
                border-radius: .21rem 0 0 .21rem;
                font-size: .18rem;
                color: #ff6546;
                white-space: nowrap;
                display: flex;
                justify-content: space-around;
                align-items: center;
                img{
                    width: 0.3rem;
                    height: .3rem;
                    padding-left: .01rem;
                    border-radius: .12rem;
                }
            }
        }
    }
    .ul1{
        height: 1rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        li{
            display: flex;
            flex-direction: column;
            align-items: center;
            p{
                &:nth-child(1){
                    font-size: .35rem;
                    font-weight: bold;
                    color: #fff;
                    i{
                        font-size: .2rem;
                    }
                }
                &:nth-child(2){
                    font-size: .2rem;
                    color: #fff7f5;
                }
            }
        }
    }
    .order{
        width: 7.15rem;
        height: 2.05rem;
        background-color: #fff;
        margin-left: .2rem;
        position: relative;
        top: .2rem;
        border-radius: .2rem;
        .top{
            height: 0.5rem;
            padding: 0 .2rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            span{
                &:nth-child(1){
                    font-size: .3rem;
                    font-weight: bold;
                    color: #333;
                }
                &:nth-child(2){
                    &.iconfont{
                        color: #ff7255;
                        font-size: .22rem;
                    }
                }
            }
        }
        .bottom{
            margin-top: .38rem;
            .ul2{
                display: flex;
                justify-content: space-around;
                li{
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    font-size: .18rem;
                    color: #333;
                    img{
                        height: .5rem;
                        margin-bottom: .2rem;
                    }
                }
            }
        }
    }
}

/*内容*/ 
main{
    margin-top: .8rem;
    height: 4rem;
    background-color: #fff;
    padding-bottom: .4rem;
    .ul3{
        padding: 0 .2rem;
        li{
            margin-top: .4rem;
            overflow: hidden;
            height: .3rem;
            line-height: .3rem;
            span{
                float: left;
                &.iconfont{
                    color: #ff6040;
                    font-size: .3rem;
                    margin-right: .1rem;
                }
            }
            i{
                float: left;
                font-size: .24rem;
                color: #333;
            }
            em{
                float: right;
                &.iconfont{
                    font-size: .2rem;
                    color: #858585;
                }
            }
            b{
                float: right;
                font-size: .22rem;
                color: #6e6e6e;
                margin-right: .05rem;
            }
        }
    }
}

/*尾部*/
footer{
    height: 1.66rem;
    border-top: 1px solid #cccccc;
    padding: .14rem 0 .16rem 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    margin-top: 3.9rem;   
    ul{
        display: flex;
        justify-content: space-around;
        li{
            display: flex;
            flex-direction: column;
            align-items: center;
            &.cur{
                color: #ff6040;
            }
            color: #acacac;
            font-size: .18rem;
            span{
                &.iconfont{
                    color: 999999;
                    font-size: .4rem;
                }
            }
            
        }
    }
    p{
        width: 2.7rem;
        height: .1rem;
        background-color: #000;
        border-radius: .05rem;
        margin: .5rem 0 0 2.4rem;
    }
}